home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
300 Great Games for Mac
/
300 games for mac.iso
/
Trivia
/
President Quiz
/
president quiz
/
card_4747.txt
< prev
next >
Wrap
Text File
|
1990-04-02
|
2KB
|
96 lines
-- card: 4747 from stack: in
-- bmap block id: 3538
-- flags: 0000
-- background id: 4507
-- name:
----- HyperTalk script -----
on openCard
global numRight, totalNumber, score
put score & "." into word 5 of card field "score"
put numRight into word 8 of card field "score"
put totalNumber into word 11 of card field "score"
end openCard
-- part 1 (field)
-- low flags: 00
-- high flags: 2002
-- rect: left=61 top=37 right=219 bottom=463
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name: score
-- part 2 (field)
-- low flags: 00
-- high flags: 2002
-- rect: left=63 top=248 right=315 bottom=235
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 2
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name:
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=63 top=248 right=315 bottom=235
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
global scorePhrase, score, numRight, totalNumber
get number of cards of background id 2697
put it into totalNumber
put 0 into numRight
put 0 into score
put "Your score is 0." into scorePhrase
go to first card
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=462 top=290 right=323 bottom=499
-- title width / last selected line: 0
-- icon id / first selected line: 19727 / 19727
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
doMenu "Quit HyperCard"
end mouseUp
-- part contents for card part 1
----- text -----
Your final score was 0.
You got 0 out of 16 right.
-- part contents for card part 2
----- text -----
Start over and do it again!